<?xml version="1.0"?>
<!--
/**
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * @package Shipping_Agent
 * @copyright Copyright 2010 Structured Solutions
 * @license http://shippingagent.codeplex.com/license MIT License (MIT)
 * @version 3.7
 */
-->
<config>
    <sections>
        <shippingagent translate="label">
            <label>Shipping Agent for Magento</label>
            <tab>service</tab>
            <frontend_type>text</frontend_type>
            <sort_order>200</sort_order>
            <show_in_default>1</show_in_default>
            <show_in_website>1</show_in_website>
            <show_in_store>1</show_in_store>
            <groups>
                <information translate="label">
                    <label>Shipping Agent URL</label>
                    <frontend_type>text</frontend_type>
                    <comment>
                        <![CDATA[
                            <p>Magento Connect installs <code>shippingagent.php</code>
                            in the root directory of your website. Therefore the
                            Shipping Agent URL is <code>{{secure_base_url}}shippingagent.php</code>,
                            where <code>{{secure_base_url}}</code> is the Secure Base URL of
                            your website.</p>
                            <p>For example,</p>
                            <p><code>https://yourdomain/magento/shippingagent.php</code></p>
                        ]]>
                    </comment>
                    <sort_order>1</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>1</show_in_store>
                </information>
                <general translate="label">
                    <label>General Settings</label>
                    <frontend_type>text</frontend_type>
                    <sort_order>2</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>1</show_in_store>
                    <fields>
                        <download_orders translate="label">
                            <label>Download Orders</label>
                            <comment>Disable if you want to exclude orders from this website or store.</comment>
                            <frontend_type>select</frontend_type>
                            <source_model>adminhtml/system_config_source_enabledisable</source_model>
                            <sort_order>1</sort_order>
                            <show_in_default>0</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </download_orders>
                        <insurance_value translate="label">
                            <label>Insurance Value</label>
                            <comment>Determines how the package insurance value is calculated.</comment>
                            <frontend_type>select</frontend_type>
                            <source_model>shippingagent/package_source_insurancevalue</source_model>
                            <sort_order>2</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </insurance_value>
                        <residential translate="label">
                            <label>Residential Destinations</label>
                            <comment>Treat destination address as residential.</comment>
                            <frontend_type>select</frontend_type>
                            <source_model>adminhtml/system_config_source_yesno</source_model>
                            <sort_order>3</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </residential>
                        <send_shipment_notice translate="label">
                            <label>Send Shipment Notice</label>
                            <comment>Yes if you want to send a shipment notice when the package is shipped.</comment>
                            <frontend_type>select</frontend_type>
                            <source_model>adminhtml/system_config_source_yesno</source_model>
                            <sort_order>4</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </send_shipment_notice>
                    </fields>
                </general>
                <payment_status translate="label">
                    <label>Payment Status Names</label>
                    <comment>
                        <![CDATA[
                            <p>Magento does not maintain a separate order payment
                            status, so Shipping Agent for Magento calculates the
                            status and assigns the appropriate value below.</p>
                        ]]>
                    </comment>
                    <frontend_type>text</frontend_type>
                    <sort_order>3</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>1</show_in_store>
                    <fields>
                        <paid translate="label">
                            <label>Paid</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>1</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </paid>
                        <partially_paid translate="label">
                            <label>Partially Paid</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>2</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </partially_paid>
                        <unpaid translate="label">
                            <label>Unpaid</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>3</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </unpaid>
                    </fields>
                </payment_status>
                <shipping_status translate="label">
                    <label>Shipping Status Names</label>
                    <comment>
                        <![CDATA[
                            <p>Magento does not maintain a separate order shipping
                            status, so Shipping Agent for Magento calculates the
                            status and assigns the appropriate value below.</p>
                        ]]>
                    </comment>
                    <frontend_type>text</frontend_type>
                    <sort_order>4</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>1</show_in_store>
                    <fields>
                        <partially_shipped translate="label">
                            <label>Partially Shipped</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>1</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </partially_shipped>
                        <shipped translate="label">
                            <label>Shipped</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>2</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </shipped>
                        <unshippable translate="label">
                            <label>Unshippable</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>3</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </unshippable>
                        <unshipped translate="label">
                            <label>Unshipped</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>4</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </unshipped>
                    </fields>
                </shipping_status>
            </groups>
        </shippingagent>
    </sections>
</config>